package com.api.test;

import com.api.request.model.ApiRequestBuilder;

public interface Api {

	void login(String username, String password);

	<T> T getService(Class<T> serviceClass);

	String getAccessKey();

	String getAccessSecret();

	boolean isLoggedIn();

	void signRequest(ApiRequestBuilder request);

	<T> T send(ApiRequestBuilder request) throws Exception;
}
